/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.zaahir.assignment2.ISP.Impl;

/**
 *
 * @author Nashief
 */
public class Bank implements DepositeTranceAction,TransferTransaction,WithdrawelTransaction {

    
    @Override
    public int Deopsite(int dep) {
     
        if(dep==0)
            return 1;
        else 
            return 0;
    }

    @Override
    public int transfer(int trans) {
        if(trans==0)
            return 1; 
        else 
            return 0;
    }

    @Override
    public int withdrawel(int withdrw) {
        if(withdrw==0) 
            return 1; 
        else
            return 0;
    }
    
}
